package com.xiaoxing.salesclient.mvp.model.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author 小星 QQ:753940262
 * @class describe
 * @time 2018/7/7 0007 16:43
 */
public class ProcessDetail implements Serializable {


    /**
     * code : 200
     * msg : 請求成功
     * data : {"info":{"order_id":"4","shop_id":"34","uid":"106","staff_id":"2","appoint_id":"0","step":"0","status":"0","create_time":"1537707008","end_time":"0","shop_name":"欣欣美容診所","nick_name":null,"cover":null,"appoint_date":null,"appoint_time":null,"arrive_time":null},"process":[{"cate_id":"1","parent_id":"0","cate_name":"諮詢","create_time":"","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"6","parent_id":"1","cate_name":"與醫師溝通","create_time":"1535963684","status":0},{"cate_id":"11","parent_id":"1","cate_name":"帶客人給醫師評估","create_time":"1535964315","status":0},{"cate_id":"12","parent_id":"1","cate_name":"開諮詢本或是見證平台","create_time":"1535964338","status":0},{"cate_id":"19","parent_id":"1","cate_name":"開啟平版或連接電視","create_time":"1537838722","status":0}]},{"cate_id":"2","parent_id":"0","cate_name":"等待","create_time":"","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"13","parent_id":"2","cate_name":"等待30分鐘以上","create_time":"1537838454","status":0},{"cate_id":"14","parent_id":"2","cate_name":"安排美顏針","create_time":"1537838511","status":0},{"cate_id":"15","parent_id":"2","cate_name":"安排今天療程","create_time":"1537838539","status":0}]},{"cate_id":"3","parent_id":"0","cate_name":"接待","create_time":"","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"7","parent_id":"3","cate_name":"換鞋引導入座","create_time":"1535963962","status":0},{"cate_id":"17","parent_id":"3","cate_name":"換鞋引導入座","create_time":"1537838618","status":0},{"cate_id":"18","parent_id":"3","cate_name":"詢問客人喝甚麼?","create_time":"1537838673","status":0}]},{"cate_id":"4","parent_id":"0","cate_name":"療程","create_time":"1535963364","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"8","parent_id":"4","cate_name":"拍攝術前照","create_time":"1535963994","status":0},{"cate_id":"16","parent_id":"4","cate_name":"確認客人","create_time":"1537838576","status":0},{"cate_id":"21","parent_id":"4","cate_name":"確認今天滿意度","create_time":"1537838820","status":0}]},{"cate_id":"5","parent_id":"0","cate_name":"送客","create_time":"1535963507","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"9","parent_id":"5","cate_name":"接待美容客人換鞋","create_time":"1535964251","status":0},{"cate_id":"10","parent_id":"5","cate_name":"換鞋引導客人至門外","create_time":"1535964286","status":0},{"cate_id":"20","parent_id":"5","cate_name":"確認預約下次時間","create_time":"1537838764","status":0}]}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * info : {"order_id":"4","shop_id":"34","uid":"106","staff_id":"2","appoint_id":"0","step":"0","status":"0","create_time":"1537707008","end_time":"0","shop_name":"欣欣美容診所","nick_name":null,"cover":null,"appoint_date":null,"appoint_time":null,"arrive_time":null}
         * process : [{"cate_id":"1","parent_id":"0","cate_name":"諮詢","create_time":"","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"6","parent_id":"1","cate_name":"與醫師溝通","create_time":"1535963684","status":0},{"cate_id":"11","parent_id":"1","cate_name":"帶客人給醫師評估","create_time":"1535964315","status":0},{"cate_id":"12","parent_id":"1","cate_name":"開諮詢本或是見證平台","create_time":"1535964338","status":0},{"cate_id":"19","parent_id":"1","cate_name":"開啟平版或連接電視","create_time":"1537838722","status":0}]},{"cate_id":"2","parent_id":"0","cate_name":"等待","create_time":"","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"13","parent_id":"2","cate_name":"等待30分鐘以上","create_time":"1537838454","status":0},{"cate_id":"14","parent_id":"2","cate_name":"安排美顏針","create_time":"1537838511","status":0},{"cate_id":"15","parent_id":"2","cate_name":"安排今天療程","create_time":"1537838539","status":0}]},{"cate_id":"3","parent_id":"0","cate_name":"接待","create_time":"","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"7","parent_id":"3","cate_name":"換鞋引導入座","create_time":"1535963962","status":0},{"cate_id":"17","parent_id":"3","cate_name":"換鞋引導入座","create_time":"1537838618","status":0},{"cate_id":"18","parent_id":"3","cate_name":"詢問客人喝甚麼?","create_time":"1537838673","status":0}]},{"cate_id":"4","parent_id":"0","cate_name":"療程","create_time":"1535963364","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"8","parent_id":"4","cate_name":"拍攝術前照","create_time":"1535963994","status":0},{"cate_id":"16","parent_id":"4","cate_name":"確認客人","create_time":"1537838576","status":0},{"cate_id":"21","parent_id":"4","cate_name":"確認今天滿意度","create_time":"1537838820","status":0}]},{"cate_id":"5","parent_id":"0","cate_name":"送客","create_time":"1535963507","transfer_staff":"","transfer_time":0,"child":[{"cate_id":"9","parent_id":"5","cate_name":"接待美容客人換鞋","create_time":"1535964251","status":0},{"cate_id":"10","parent_id":"5","cate_name":"換鞋引導客人至門外","create_time":"1535964286","status":0},{"cate_id":"20","parent_id":"5","cate_name":"確認預約下次時間","create_time":"1537838764","status":0}]}]
         */

        private InfoBean info;
        private List<ProcessBean> process;

        public InfoBean getInfo() {
            return info;
        }

        public void setInfo(InfoBean info) {
            this.info = info;
        }

        public List<ProcessBean> getProcess() {
            return process;
        }

        public void setProcess(List<ProcessBean> process) {
            this.process = process;
        }

        public static class InfoBean {
            /**
             * order_id : 4
             * shop_id : 34
             * uid : 106
             * staff_id : 2
             * appoint_id : 0
             * step : 0
             * status : 0
             * create_time : 1537707008
             * end_time : 0
             * shop_name : 欣欣美容診所
             * nick_name : null
             * cover : null
             * appoint_date : null
             * appoint_time : null
             * arrive_time : null
             */

            private String order_id;
            private String shop_id;
            private String uid;
            private String staff_id;
            private String appoint_id;
            private String step;
            private String status;
            private String create_time;
            private String end_time;
            private String shop_name;
            private String nick_name;
            private String cover;
            private String appoint_date;
            private String appoint_time;
            private String arrive_time;
            private String appoint;

            public String getAppoint() {
                return appoint;
            }

            public void setAppoint(String appoint) {
                this.appoint = appoint;
            }

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getShop_id() {
                return shop_id;
            }

            public void setShop_id(String shop_id) {
                this.shop_id = shop_id;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getStaff_id() {
                return staff_id;
            }

            public void setStaff_id(String staff_id) {
                this.staff_id = staff_id;
            }

            public String getAppoint_id() {
                return appoint_id;
            }

            public void setAppoint_id(String appoint_id) {
                this.appoint_id = appoint_id;
            }

            public String getStep() {
                return step;
            }

            public void setStep(String step) {
                this.step = step;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getShop_name() {
                return shop_name;
            }

            public void setShop_name(String shop_name) {
                this.shop_name = shop_name;
            }

            public String getNick_name() {
                return nick_name;
            }

            public void setNick_name(String nick_name) {
                this.nick_name = nick_name;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getAppoint_date() {
                return appoint_date;
            }

            public void setAppoint_date(String appoint_date) {
                this.appoint_date = appoint_date;
            }

            public String getAppoint_time() {
                return appoint_time;
            }

            public void setAppoint_time(String appoint_time) {
                this.appoint_time = appoint_time;
            }

            public String getArrive_time() {
                return arrive_time;
            }

            public void setArrive_time(String arrive_time) {
                this.arrive_time = arrive_time;
            }
        }

        public static class ProcessBean {
            /**
             * cate_id : 1
             * parent_id : 0
             * cate_name : 諮詢
             * create_time :
             * transfer_staff :
             * transfer_time : 0
             * child : [{"cate_id":"6","parent_id":"1","cate_name":"與醫師溝通","create_time":"1535963684","status":0},{"cate_id":"11","parent_id":"1","cate_name":"帶客人給醫師評估","create_time":"1535964315","status":0},{"cate_id":"12","parent_id":"1","cate_name":"開諮詢本或是見證平台","create_time":"1535964338","status":0},{"cate_id":"19","parent_id":"1","cate_name":"開啟平版或連接電視","create_time":"1537838722","status":0}]
             */

            private String cate_id;
            private String parent_id;
            private String cate_name;
            private String create_time;
            private String transfer_staff;
            private int transfer_time;
            private List<ChildBean> child;

            public String getCate_id() {
                return cate_id;
            }

            public void setCate_id(String cate_id) {
                this.cate_id = cate_id;
            }

            public String getParent_id() {
                return parent_id;
            }

            public void setParent_id(String parent_id) {
                this.parent_id = parent_id;
            }

            public String getCate_name() {
                return cate_name;
            }

            public void setCate_name(String cate_name) {
                this.cate_name = cate_name;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getTransfer_staff() {
                return transfer_staff;
            }

            public void setTransfer_staff(String transfer_staff) {
                this.transfer_staff = transfer_staff;
            }

            public int getTransfer_time() {
                return transfer_time;
            }

            public void setTransfer_time(int transfer_time) {
                this.transfer_time = transfer_time;
            }

            public List<ChildBean> getChild() {
                return child;
            }

            public void setChild(List<ChildBean> child) {
                this.child = child;
            }

            public static class ChildBean {
                /**
                 * cate_id : 6
                 * parent_id : 1
                 * cate_name : 與醫師溝通
                 * create_time : 1535963684
                 * status : 0
                 */

                private String cate_id;
                private String parent_id;
                private String cate_name;
                private String create_time;
                private int status;

                public String getCate_id() {
                    return cate_id;
                }

                public void setCate_id(String cate_id) {
                    this.cate_id = cate_id;
                }

                public String getParent_id() {
                    return parent_id;
                }

                public void setParent_id(String parent_id) {
                    this.parent_id = parent_id;
                }

                public String getCate_name() {
                    return cate_name;
                }

                public void setCate_name(String cate_name) {
                    this.cate_name = cate_name;
                }

                public String getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(String create_time) {
                    this.create_time = create_time;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }
            }
        }
    }
}
